<template>
  <div class="my-footer">
    <van-tabbar v-model="active">
      <van-tabbar-item @click="$router.push('/')" icon="home-o"
        >首页</van-tabbar-item
      >
      <van-tabbar-item @click="$router.push('qp')" icon="chat-o"
        >宠物圈</van-tabbar-item
      >
      <van-tabbar-item @click="$router.push('a')" icon="cart-o"
        >便利店</van-tabbar-item
      >
      <van-tabbar-item @click="$router.push('me')" icon="manager-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: "",
    };
  },
};
</script>

<style lang="scss" scoped>
.van-tabbar-item {
  background-color: #e8e8e8;
}
</style>
